<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number" value="{$row.uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Referrer_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-referrer_uid" data-rule="required" class="form-control" name="row[referrer_uid]" type="number" value="{$row.referrer_uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_uid" data-rule="required" class="form-control" name="row[p_uid]" type="number" value="{$row.p_uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_uid" data-rule="required" class="form-control" name="row[c_uid]" type="number" value="{$row.c_uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Referrer_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-referrer_price" data-rule="required" class="form-control" step="0.01" name="row[referrer_price]" type="number" value="{$row.referrer_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_pirce')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_pirce" data-rule="required" class="form-control" step="0.01" name="row[p_pirce]" type="number" value="{$row.p_pirce|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('C_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-c_price" data-rule="required" class="form-control" step="0.01" name="row[c_price]" type="number" value="{$row.c_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('T_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-t_price" data-rule="required" class="form-control" step="0.01" name="row[t_price]" type="number" value="{$row.t_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Print')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-print" data-rule="required" class="form-control" name="row[print]" type="number" value="{$row.print|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Creat_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-creat_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[creat_time]" type="text" value="{:$row.creat_time?datetime($row.creat_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Profit_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-profit_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[profit_time]" type="text" value="{:$row.profit_time?datetime($row.profit_time):''}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
